<template>
  <el-config-provider size="default" :zIndex="zIndex">
    <AppProvider>
      <RouterView />
    </AppProvider>
  </el-config-provider>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import { ElConfigProvider } from 'element-plus';
  import { AppProvider } from '@/components/Application';

  const zIndex = ref(3000);
</script>

<style lang="scss">
  #nprogress .bar {
    background: var(--el-color-primary);
  }
</style>
